<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../js/vue.js"></script>
</head>
<body>
<div id="app">
    <h2>{{message}}</h2>
    <h1>{{name}}</h1>
</div>
<script>
    //编程范式：声明式编程
    const app = new Vue({
        el: '#app',/*用于挂载要管理的元素*/
        data:{
            //定义数据
            message:'您好呀！vue.js',
            name:'您好呀！大傻彪'
        }
    })
</script>
</body>
</html>